import { InputType } from '@/utils';

export const searchConfig: PageConfig = {
    items: [
        {
            itemType: 'text',
            modelKey: 'workshopLeader',
            elInputProps: {
                placeholder: '请输入车间负责人'
            },
            columnProps: {
                label: '车间负责人'
            }
        },
        {
            itemType: 'text',
            modelKey: 'contactNumber',
            elInputProps: {
                placeholder: '请输入手机号'
            },
            columnProps: {
                label: '手机号'
            },
            validFormatType: InputType.NUMBER
        },
        {
            itemType: 'text',
            modelKey: 'workshopName',
            elInputProps: {
                placeholder: '请输入车间名称'
            },
            columnProps: {
                label: '车间名称'
            }
        },
        {
            itemType: 'text',
            modelKey: 'workshopCode',
            elInputProps: {
                placeholder: '请输入车间编码'
            },
            columnProps: {
                label: '车间编码'
            },
            validFormatType: InputType.NUMERIC_ALPHABET_SYMBOLS
        }
    ]
};
